﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>系统登录 - 超市订单管理系统</title>
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath }/css/style.css"/>
    <script type="text/javascript">
        /* if(top.location!=self.location){
              top.location=self.location;
         } */
    </script>

</head>
<body class="login_bg">
<section class="loginBox">
    <header class="loginHeader">
        <h1>超市订单管理系统</h1>
    </header>
    <section class="loginCont">
        <form class="loginForm" action="${pageContext.request.contextPath }/login/loginU" name="actionForm" id="actionForm"
              method="post" style="padding: 65px 38px 73px 30px;">
            <div class="info">${error }</div>
            <div class="inputbox" style="height: 50px">
                <label>用户名：</label>
                <input type="text" class="input-text" id="userName" name="userName" placeholder="请输入用户名" required/>
            </div>
            <div class="inputbox" style="height: 50px">
                <label>密码：</label>
                <input type="password" id="userPassword" name="userPassword" placeholder="请输入密码" required/>
            </div>
            <div class="inputbox" style="height: 50px;">
                <label>验证码：</label>
                <input class="random" type="text" id="randomCode" name="randomCode" placeholder="请输入验证码" required style="width:35%"/>
                <a href="login.jsp" style="height: 30px;float: right"><img src="randomCode"></a>
            </div>
            <div class="inputbox" style="height: 50px">
                <label>信息：</label>
                <span style="color: red;font-weight: bold;font-size: 1.3em">${msg}</span>
            </div>
            <div class="subBtn">
                <input type="submit" value="登录"/>
                <input type="reset" value="重置"/>
            </div>
        </form>
    </section>
</section>
</body>
</html>
